require(["jquery","common","static/js/widgets/fixtool/index","knockout","static/pages/purchaserportal","static/js/createstyleelement.js","static/js/main/languagecas","i18nextko","director","bootstrap"],function($,Common,fixtool,ko,purchaserportal,crestyleele){
    var locale = Common.cookie.get("u_locale")||"zh_CN";
    /*window.i18nextko.init(window.languagetranslate,locale,ko);*/
    var router = Common.router();
    new purchaserportal();
    if(locale == 'en_US'){
        crestyleele();
    }

    var el_content = $('#fix-tools');
    ko.cleanNode($('#fix-tools')[0]);
    var viewmodel = new fixtool({el:el_content});
    window.Common = Common;
});